package spring.annotation;

import org.springframework.stereotype.Component;

@Component
public class User {

    private String username;
    private int age;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    private void haha() {
        System.out.println("haha");
    }
}
